package com.eshipenet.shipnet.edpersistor

import java.util.concurrent.TimeUnit

import scala.concurrent.duration.Duration
import scala.concurrent.duration._

case class InfluxDBConfig(url: String,
                          username: Option[String] = None,
                          password: Option[String] = None,
                          database: String = "",
                          isCreateDatabase: Boolean = false,
                          batchActions: Int = 1,
                          flushDuration: Duration = 10 seconds,
                          timeUnit: TimeUnit = TimeUnit.NANOSECONDS,
                          isEnableGzip: Boolean = false)
